//
//  DepartmentView.m
//  PASystem
//
//  Created by 刘沿 on 16/8/17.
//  Copyright © 2016年 czd. All rights reserved.
//

#import "DepartmentView.h"

@implementation DepartmentView

+ (instancetype)WithDepartmentView{

    return [[[NSBundle mainBundle] loadNibNamed:@"DepartmentView" owner:nil options:nil] lastObject];
}


-(void)setModel:(InterNationDetailModel *)model{
    
    _model = model;
    
    self.division1.text = model.DIVISION1;
    self.division2.text = model.DIVISION2;
    self.division3.text = model.DIVISION3;
    self.division4.text = model.DIVISION4;
    self.mechanism1.text = model.MECHANISM1;
    self.mechanism2.text = model.MECHANISM2;
    self.mechanism3.text = model.MECHANISM3;
    self.mechanism4.text = model.MECHANISM4;
}




@end
